Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Traversing Mesh Components, Vertices, Faces, and Edges


Q3Mesh_FirstVertexFace

You can use the Q3Mesh_FirstVertexFace function to get the first face around a vertex.

TQ3MeshFace Q3Mesh_FirstVertexFace (
TQ3MeshVertex vertex, 
TQ3MeshIterator *iterator);
vertex
A mesh vertex.
iterator
A pointer to a mesh iterator structure.
DESCRIPTION
The Q3Mesh_FirstVertexFace function returns, as its function result, the first face around the vertex specified by the vertex parameter. The iterator parameter is a pointer to a mesh iterator structure that Q3Mesh_FirstVertexFace fills in before returning. You should pass the address of that structure to the Q3Mesh_NextVertexVertex function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996